package com.arpa.wms.mapper;


import com.arpa.wms.domain.dto.DiyReportFieldDTO;
import com.arpa.wms.domain.entity.DiyReportField;
import com.arpa.wms.domain.vo.DiyReportFieldVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 自定义报表字段 Mapper 接口
 * </p>
 *
 * @author wangyujie
 * @since 2020-01-14
 */
public interface DiyReportFieldMapper extends BaseMapper<DiyReportField> {

    /**
     * 查询列表
     * @param diyReportFieldDTO
     * @return
     */
    List<DiyReportFieldVO> queryList(DiyReportFieldDTO diyReportFieldDTO);

    /**
     * 查询合计,包含总数
     * @param diyReportFieldDTO
     * @return
     */
    DiyReportFieldVO queryListSum(DiyReportFieldDTO diyReportFieldDTO);
}
